<!doctype html>
<html lang="en">	
	<head>
		<meta charset="UTF-8">
		<meta name="Generator" content="EditPlus®">
		<meta name="Author" content="">
		<meta name="Keywords" content="">
		<meta name="Description" content="">
		<title>for--in</title>
		<style>
			*{margin:0;padding:0;}
			a{text-decoration:none;}
			ul,li{list-style:none;}
			body{font-size:12px;font-family:"微软雅黑";}
			


		</style>
	</head>
	<body>
		
		<div id="box"></div>
		<script src="../js/jquery-1.12.2.min.js""></script>
		<script src="../js/dom.js"></script>
		<script type="text/javascript">
			
			var arr =["张飞","关羽",1,"刘备",4];
			for (var i in arr){
				//alert(arr[i]);
			}
			var json = {
				width:"100px",
				height:"100px",
				background:"red"
			}
			var boxDom = document.getElementById("box");
			for(var key in json){
				boxDom.style[key] = json[key];
			}
			var a = 0 || 5 && 6;
			alert(a);
		</script>	
		
		
	</body>
</html>
